<template>
    <div>
      <el-form :model="form" label-width="120px">
            <el-form-item label="床位编号">
                <el-input v-model="form.name" />
            </el-form-item>
            <el-form-item label="所属科室">
                <el-select v-model="form.region" placeholder="please select your zone">
                    <el-option label="Zone one" value="shanghai" />
                    <el-option label="Zone two" value="beijing" />
                </el-select>
            </el-form-item>

            <el-form-item label="氧气管">
                <el-radio-group v-model="form.resource">
                    <el-radio label="是" />
                    <el-radio label="否" />
                </el-radio-group>
            </el-form-item>
            <el-form-item label="心电机">
                <el-radio-group v-model="form.resource">
                    <el-radio label="是" />
                    <el-radio label="否" />
                </el-radio-group>
            </el-form-item>
            <el-form-item label="呼吸机">
                <el-radio-group v-model="form.resource">
                    <el-radio label="是" />
                    <el-radio label="否" />
                </el-radio-group>
            </el-form-item>
            <el-form-item label="急救设备">
                <el-radio-group v-model="form.resource">
                    <el-radio label="是" />
                    <el-radio label="否" />
                </el-radio-group>
            </el-form-item>
            <el-form-item label="空调地暖">
                <el-radio-group v-model="form.resource">
                    <el-radio label="是" />
                    <el-radio label="否" />
                </el-radio-group>
            </el-form-item>
            <el-form-item label="电视外设">
                <el-radio-group v-model="form.resource">
                    <el-radio label="是" />
                    <el-radio label="否" />
                </el-radio-group>
            </el-form-item>
            <el-form :model="form" label-width="120px">
                <el-form-item label="责任护士">
                    <el-select v-model="form.region" placeholder="please select your zone">
                        <el-option label="Zone one" value="shanghai" />
                        <el-option label="Zone two" value="beijing" />
                    </el-select>
                </el-form-item>
            </el-form>
      </el-form>
    </div>

</template>

<script setup lang="ts">
import { onMounted, reactive, watchEffect, ref } from 'vue';
const form = reactive({
    name: '',
    region: '',
    date1: '',
    date2: '',
    delivery: false,
    type: [],
    resource: '',
    desc: '',
})
const radio = ref(3)
</script>

<style scoped>

</style>